AIOSEO\Plugin\Common\Admin\Admin D

Total Complexity 146
Dependencies 4
Dependents 0
Total lines 1,239
Lines of code 765
Logical lines of code 274
Comment lines 326
Methods 34
Properties 7

Methods 34

Method Rating Maintainability Complexity Lines of code
hooks()
C
34 24 88
addPublishScore()
B
41 16 57
adminBarMenu()
A
44 10 41
addMenu()
A
44 9 45
appendTrashedMessage()
A
46 9 37
addPageAnalyzerMenuItems()
S
39 3 74
setPages()
S
40 3 73
addSettingsMenuItems()
S
52 6 24
addGutenbergLinkFormatScript()
S
48 5 34
hideScheduledActionsMenu()
S
58 6 15
__construct()
S
57 5 16
init()
S
57 5 16
unslashEscapedDataPosts()
S
50 4 27
addEditSeoMenuItem()
S
58 4 15
registerLinkFormatHooks()
S
61 4 11
getFirstAvailablePageSlug()
S
63 4 11
getScoreClass()
S
64 4 10
isAioseoScreen()
S
59 3 14
addFooterText()
S
51 1 31
alwaysAddHtmlDirAttribute()
S
70 3 6
addClassicLinkFormatScript()
S
50 1 28
enqueueBlockEditorLinkFormat()
S
63 2 11
getColumnsToUnslash()
S
54 1 25
addAdminBarMenuItems()
S
71 2 6
page()
S
68 2 8
addPluginScripts()
S
65 2 9
addMainMenu()
S
64 1 11
checkForRedirects()
S
98 1 1
scheduleUnescapeData()
S
75 1 4
enqueueAssets()
S
74 1 4
getPageRequiredCapability()
S
80 1 3
loadTextDomain()
S
81 1 3
addAioseoModalPortal()
S
82 1 3
addFooterPromotion()
S
76 1 4